﻿<%@ Page Language="C#" MasterPageFile="~/ClientSite.Master" AutoEventWireup="true"
    CodeBehind="Register.aspx.cs" Inherits="SES.CMS.Register" Title="Trang trí ngoại thất" %>

<%@ Register Assembly="MSCaptcha" Namespace="MSCaptcha" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            height: 24px;
        }

        .done
        {
            background: url(   "images/done.png" ) no-repeat;
            width: 101px;
            height: 31px;
            border: none;
            cursor:pointer;
        }
        .txtcapcha
        {
            clear: both;
            margin-left: 0px;
        }
        .imgCapcha
        {
            width: 108px;
            height: 31px;
            margin: 0;
            padding: 0;
            margin-left: -170px;
        }

    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="page_margins">
        <div class="page">
            <div class="subcolumns">
                <div class="c20l">
                </div>
                <div class="c80r">
                    <div class="shoppingcart">
                        <div class="lineBox clear">
                        </div>
                        <div class="textbox">
                            <div id="basket" class="basketitems">
                                <div class="listhead">
                                    <h2 class="borderbottom">
                                        ĐĂNG KÝ THÀNH VIÊN</h2>
                                </div>
                                <div class="RegisterForm">
                                    <table class="pmb-table">
                                        <tbody>
                                            <tr>
                                                <td>
                                                    <span>Tên hiển thị&nbsp;<font color="red">*</font></span>
                                                </td>
                                                <td>
                                                    <asp:TextBox runat="server" ID="txtClientName" CssClass="inputLogin" type="text"
                                                        TabIndex="1"></asp:TextBox>
                                                </td>
                                                <td>
                                                    &nbsp;
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <span>Username&nbsp;<font color="red">*</font></span>
                                                </td>
                                                <td>
                                                    <asp:TextBox runat="server" ID="txtUsername" CssClass="inputLogin" type="text" TabIndex="2"></asp:TextBox>
                                                </td>
                                                <td>
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="txtUsername"
                                                        Display="Dynamic" ErrorMessage="Bạn chưa điền tên đăng nhập" ValidationGroup="a"></asp:RequiredFieldValidator>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <span>Mật khẩu&nbsp;<font color="red">*</font></span>
                                                </td>
                                                <td>
                                                    <asp:TextBox runat="server" ID="txtPassword" CssClass="inputLogin" type="text" TextMode="Password"
                                                        TabIndex="3"></asp:TextBox>
                                                </td>
                                                <td>
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="txtPassword"
                                                        ErrorMessage="Bạn chưa nhập mật khẩu" ValidationGroup="a"></asp:RequiredFieldValidator>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="style1">
                                                    <span>Xác nhận mật khẩu&nbsp;<font color="red">*</font></span>
                                                </td>
                                                <td class="style1">
                                                    <asp:TextBox runat="server" ID="txtRePassword" CssClass="inputLogin" type="text"
                                                        TextMode="Password" TabIndex="4" OnTextChanged="txtRePassword_TextChanged"></asp:TextBox>
                                                </td>
                                                <td class="style1">
                                                    <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtRePassword"
                                                        ControlToValidate="txtPassword" ErrorMessage="Mật khẩu không khớp" ValidationGroup="ab"
                                                        Display="Dynamic"></asp:CompareValidator>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <span>Email&nbsp;<font color="red">*</font></span>
                                                </td>
                                                <td>
                                                    <asp:TextBox runat="server" ID="txtEmail" CssClass="inputLogin" type="text" TabIndex="5"></asp:TextBox>
                                                </td>
                                                <td>
                                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtEmail"
                                                        Display="Dynamic" ErrorMessage="Bạn phải nhập đúng Email" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                                                        ValidationGroup="a"></asp:RegularExpressionValidator>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <span>Điện thoại&nbsp;<font color="red">*</font></span>
                                                </td>
                                                <td>
                                                    <asp:TextBox runat="server" ID="txtPhone" CssClass="inputLogin" type="text" TabIndex="6"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <span>Di động&nbsp;<font color="red">*</font></span>
                                                </td>
                                                <td>
                                                    <asp:TextBox runat="server" ID="txtMobile" CssClass="inputLogin" type="text" TabIndex="7"></asp:TextBox>
                                                </td>
                                                <td>
                                                    &nbsp;
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <span>Địa chỉ </span>
                                                </td>
                                                <td>
                                                    <asp:TextBox runat="server" ID="txtAddress" CssClass="inputLogin" type="text" TabIndex="8"></asp:TextBox>
                                                </td>
                                                <td>
                                                    &nbsp;
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <span>Mã bảo vệ: </span>
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="txtbv" runat="server" Width="70px" Height="20px" CssClass="txtcapcha" />
                                                    <asp:Label ID="Label5" Text=" " Width="90px" runat="server"></asp:Label>
                                                </td>
                                                <td style="text-align: left;">
                                                    <cc1:CaptchaControl CssClass="imgCapcha" ID="ccJoin" runat="server" validateIntegratedModeConfiguration="false"
                                                        CaptchaHeight="31" CaptchaWidth="90" CaptchaBackgroundNoise="Extreme" CaptchaLength="5" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                </td>
                                                <td>
                                                    <asp:Button runat="server" ID="btnXacNhan" Text="" class="done" OnClick="btnXacNhan_Click"
                                                        ValidationGroup="a" TabIndex="10" />
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
